package com.ruoyi.nysjwh.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仪表更换对象 tb_nysjwh_ybgh
 * 
 * @author hc
 * @date 2023-11-11
 */
public class TbNysjwhYbgh extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 新仪表名称 */
    @Excel(name = "新仪表名称")
    private String xybmc;

    /** 旧仪表名称 */
    @Excel(name = "旧仪表名称")
    private String jybmc;

    /** 换表时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "换表时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hbsj;

    /** 新表读数 */
    @Excel(name = "新表读数")
    private Long xbds;

    /** 旧表读数 */
    @Excel(name = "旧表读数")
    private Long jbds;

    /** 换表调整量 */
    @Excel(name = "换表调整量")
    private Long hbtzl;

    /** 新表采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "新表采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xbcjsj;

    /** 旧表采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "旧表采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jbcjsj;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setXybmc(String xybmc) 
    {
        this.xybmc = xybmc;
    }

    public String getXybmc() 
    {
        return xybmc;
    }
    public void setJybmc(String jybmc) 
    {
        this.jybmc = jybmc;
    }

    public String getJybmc() 
    {
        return jybmc;
    }
    public void setHbsj(Date hbsj) 
    {
        this.hbsj = hbsj;
    }

    public Date getHbsj() 
    {
        return hbsj;
    }
    public void setXbds(Long xbds) 
    {
        this.xbds = xbds;
    }

    public Long getXbds() 
    {
        return xbds;
    }
    public void setJbds(Long jbds) 
    {
        this.jbds = jbds;
    }

    public Long getJbds() 
    {
        return jbds;
    }
    public void setHbtzl(Long hbtzl) 
    {
        this.hbtzl = hbtzl;
    }

    public Long getHbtzl() 
    {
        return hbtzl;
    }
    public void setXbcjsj(Date xbcjsj) 
    {
        this.xbcjsj = xbcjsj;
    }

    public Date getXbcjsj() 
    {
        return xbcjsj;
    }
    public void setJbcjsj(Date jbcjsj) 
    {
        this.jbcjsj = jbcjsj;
    }

    public Date getJbcjsj() 
    {
        return jbcjsj;
    }
    public void setBz(String bz) 
    {
        this.bz = bz;
    }

    public String getBz() 
    {
        return bz;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("xybmc", getXybmc())
            .append("jybmc", getJybmc())
            .append("hbsj", getHbsj())
            .append("xbds", getXbds())
            .append("jbds", getJbds())
            .append("hbtzl", getHbtzl())
            .append("xbcjsj", getXbcjsj())
            .append("jbcjsj", getJbcjsj())
            .append("bz", getBz())
            .toString();
    }
}
